State

enum State : Enum<SyncSession.State>

The possible states for SyncSession to be.

A Realm will automatically synchronize data with the server if the session is either ACTIVE or DYING and is connected.

Entries

WAITING_FOR_ACCESS_TOKEN
Link copied to clipboard
The user is attempting to synchronize data but needs a valid access token to do so.
DYING
Link copied to clipboard
The Realm was closed, but still contains data that needs to be synchronized to the server.
PAUSED
Link copied to clipboard
The Realm is open and has a connection to the server, but no data is allowed to be transferred between the device and the server.
ACTIVE
Link copied to clipboard
The Realm is open and data will be synchronized between the device and the server if the underlying connection is connected.
INACTIVE
Link copied to clipboard
This is the initial state.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int